package com.example.demo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.demo.entity.Goods;
import com.example.demo.entity.ResponseResult;

public interface GoodsService extends IService<Goods> {
    ResponseResult getList();

    ResponseResult getByName(String name);

    ResponseResult savaGoods(Goods goods);

    ResponseResult updateGoods(Goods goods);

    ResponseResult deleteById(String id);

    ResponseResult deleteByName(String name);
}
